package com.cloud.edu.model.swagger;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import springfox.documentation.service.ResponseMessage;

import java.util.List;

/**
 * @author dehuisun
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SwaggerApiInfo {

    private String title;

    private String version;

    private String serviceUrl;
    
    private List<ResponseMessage> statusList;

    public String getTitle() {
		return title;
	}

	public String getVersion() {
		return version;
	}

	public String getServiceUrl() {
		return serviceUrl;
	}

	public List<ResponseMessage> getStatusList() {
		return statusList;
	}

    public SwaggerApiInfo version(String version)
    {
      this.version = version;
      return this;
    }
    
    public SwaggerApiInfo serviceUrl(String serviceUrl)
    {
      this.serviceUrl = serviceUrl;
      return this;
    }
    
    public SwaggerApiInfo title(String title)
    {
      this.title = title;
      return this;
    }
    
    public SwaggerApiInfo statusList(List<ResponseMessage> statusList)
    {
      this.statusList = statusList;
      return this;
    }

   

    public static SwaggerApiInfo builder() {
      return new SwaggerApiInfo();
    }
    
}
